package com.zyq.model.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 首页返回操作类
 * @author: zyq
 * @create: 2022-03-03
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "首页返回响应类")
public class HomePageResponse {

    @ApiModelProperty("最新10个帖子")
    private List<HomePage10Response> topic10;

    @ApiModelProperty("最新10篇文章")
    private List<HomePage10Response> article10;

    @ApiModelProperty("今日之星")
    private List<HomePageUser10Response> user10;

    @ApiModelProperty("最热两篇文章")
    private List<HomePageArticle2Response> article2;

    @ApiModelProperty("统计我的未读消息")
    private int countMessage;

    @ApiModelProperty("热搜词")
    private List<String> words;
}
